package com.zygk.locationtool.model;

/**
 * Created by Wikison on 2018/12/6.
 */
public class Gps {

  private double mLatitude;
  private double mLongitude;

  public Gps() {
  }

  public Gps(double longitude, double mLatitude) {
    setLatitude(mLatitude);
    setLongitude(longitude);
  }

  public double getLatitude() {
    return mLatitude;
  }

  public void setLatitude(double latitude) {
    this.mLatitude = latitude;
  }

  public double getLongitude() {
    return mLongitude;
  }

  public void setLongitude(double longitude) {
    this.mLongitude = longitude;
  }

  @Override
  public String toString() {
    return mLongitude + "," + mLatitude;
  }
}
